package cn.edu.ujn.multiple.dao;

import java.util.List;

import cn.edu.ujn.multiple.model.Orders;

public interface OrdersMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Orders record);

    int insertSelective(Orders record);

    List<Orders> selectByCustId(Integer custId);//关联一对多
    
    List<Orders> findAll();//关联多对多
    
    Orders selectByPrimaryKey(Integer id);
    
    int updateByPrimaryKeySelective(Orders record);

    int updateByPrimaryKey(Orders record);

}